<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>系统登录</title>
    <link rel="stylesheet" href="/static/admin/css/login.css?v={$version}">
</head>
<body>
<div id="login-container">
    <img src="/static/admin/image/login.jpg" class="loing-back"/>
    <div class="system-container">
        {$system.system_name}
    </div>
    <div class="login-form">
        <div class="login-border-1">
            <div class="login-title">账户登录</div>
            <div class="form">
                <form class="layui-form" method="post" action="{:url('admin/login/index')}" id="cp-form">
                    <div class="layui-form-item">
                        <label class="layui-form-label">账户</label>
                        <div class="layui-input-block">
                            <input type="text" name="username" required lay-verify="required"
                                   placeholder="手机号|账户|邮箱" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">密码</label>
                        <div class="layui-input-block">
                            <input type="password" name="password" required lay-verify="required"
                                   placeholder="请输入密码" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">验证码</label>
                        <div class="layui-input-block">
                            <input type="text" name="verifyCode" required lay-verify="required"
                                   placeholder="验证码" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <?php $verify_url =url('admin/verify/getverify'); ?>
                            <img src="{$verify_url}" alt="" class="vifcode">
                            <a href="javascript:vifCode('{$verify_url}?='+new Date(),'.vifcode');"
                               class="vifcode-btn">点击切换</a>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn form-btn layui-col-md12" >
                                立即提交
                            </button>
                        </div>
                    </div>
                </form>
            </div>
            <div class="version layui-text">
                当前系统版本：{$system.version.version_code.v_code|default=''}&nbsp;&nbsp;{$system.version.version_number|default=''}
            </div>
        </div>
    </div>
</div>
</body>
</html>